projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1804d94
)
Automatically populate the git submodules in autogen.sh
author
Stef Walter
<stefw@gnome.org>
Mon, 30 Jul 2012 11:04:00 +0000
(13:04 +0200)
committer
Stef Walter
<stefw@gnome.org>
Tue, 31 Jul 2012 13:26:42 +0000
(15:26 +0200)
autogen.sh
patch
|
blob
|
history
diff --git
a/autogen.sh
b/autogen.sh
index 6035bc02934c09acecb11245d19aaa569e1dc60f..4e9fcaef7a58656a1c8c35bfa56ac81b2952a91e 100755
(executable)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-16,5
+16,14
@@
mkdir -p m4
autoreconf --force --install --verbose
+# Fetch submodules if needed
+if test ! -f src/libgsystem/README;
+then
+ echo "+ Setting up submodules"
+ git submodule init
+fi
+git submodule update
+
+
cd $olddir
test -n "$NOCONFIGURE" || "$srcdir/configure" "$@"